import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: false,
  indexLabel: i18n.t('number'),
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: i18n.t('product.brandName'),
    prop: 'brandName'
  },
  {
    label: i18n.t('product.brandImg'),
    prop: 'brandPic',
    type: 'upload',
    slot: true,
    listType: 'picture-img'
  }, {
    label: i18n.t('temp.sequence'),
    prop: 'seq'
  }, {
    width: 150,
    label: i18n.t('product.status'),
    prop: 'status',
    search: true,
    type: 'select',
    dicData: [
      {
        label: i18n.t('publics.disable'),
        value: 0
      }, {
        label: i18n.t('publics.normal'),
        value: 1
      }
    ]
  }]
}
